 <!-- <TheForm @fetchData="fetchData">
        <template v-slot:gForm>
          <el-form-item label="场景">
            <TheSceneId :value.sync="params.sceneName" />
          </el-form-item>
          <el-form-item label="设备名称">
            <el-input v-model="params.deviceName" placeholder="请输入设备名称" />
          </el-form-item>
          <el-form-item label="风险等级">
            <TheDangersourcelevel v-model="params.dangersourcelevel" />
          </el-form-item>
        </template>
      </TheForm> -->
<template>
  <div>
    <el-form :label-width="labelWidth" :inline="true" v-bind="$attrs" v-on="$listeners">
      <slot name="gForm" />
      <el-form-item label="">
        <el-button type="primary" @click="$emit('fetchData',true)">搜索</el-button>
        <slot name="gFormFoot" />
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
export default {
  props: {
    labelWidth: {
      type: String,
      default: '80px'
    }
  },
  data() {
    return {

    }
  },
  computed: {
  },
  mounted() {
  },
  methods: {

  }
}
</script>
<style scoped lang="scss">
</style>
